import {FreeMap} from "..";

export abstract class Handler {
    protected map: FreeMap;

    constructor(map: FreeMap) {
        this.map = map;
        this.init();
        this.enable();
    }

    abstract init(): void

    abstract enable(): void

    abstract disable(): void
}
